﻿using PowerStation.RequestModel;
using System.Collections.Generic;

namespace PowerStation.TableModel
{
    /// <summary>
    /// 单电站管理首页模型
    /// </summary>
    public class singlePowerStationManagementIndex
    {
        /// <summary>
        /// 基础数据,年计划,已完成,装机容量,容量利用占比,昨日发电量,今日发电量
        /// </summary>
        public List<RequestStatisticsModel> BaseData { get; set; }
        /// <summary>
        /// 今年去年发电
        /// </summary>
        public List<RequestStatisticsModel> twoYearPowerValue { get; set; }
        /// <summary>
        /// 今年去年发电时间占比
        /// </summary>
        public List<RequestStatisticsModel> twoYearPowerTimeValue { get; set; }
        /// <summary>
        /// 今年去年降降雨量
        /// </summary>
        public List<RequestStatisticsModel> twoYearRainfallValue { get; set; }
        /// <summary>
        /// 机组数据
        /// </summary>
        public List<GeneratorSetData> generatorSetDataLst { get; set; }

    }
    /// <summary>
    /// 发电机组数据
    /// </summary>
    public class GeneratorSetData { 
        /// <summary>
        /// 发电机组名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 发电机组样式
        /// </summary>
        public string DeviceType { get; set; }
        /// <summary>
        /// 装机容量,单位kw
        /// </summary>
        public decimal InstalledCapacity { get; set; }
        /// <summary>
        /// 正常运行 %
        /// </summary>
        public decimal normalOperation { get; set; }
        /// <summary>
        /// 今日发电 kw.h
        /// </summary>
        public decimal todayPowerValue { get; set; }
        /// <summary>
        /// 昨日发电 kw.h
        /// </summary>
        public decimal yestodayPowerValue { get; set; }
        /// <summary>
        /// 今年发电量
        /// </summary>
        public decimal yearPowrValue { get; set; }
        /// <summary>
        /// 去年发电量
        /// </summary>
        public decimal beforeYearPowerValue { get; set; }

        /// <summary>
        /// 今年峰期发电
        /// </summary>
        public decimal yearPeakPowerValue { get; set; }
        /// <summary>
        /// 今年平期发电
        /// </summary>
        public decimal yearPeacetimePowerValue { get; set; }
        /// <summary>
        /// 今年谷期发电
        /// </summary>
        public decimal yearValleyPower { get; set; }

        /// <summary>
        /// 本次停机时间
        /// </summary>
        public decimal thisDowntime { get; set; }
        /// <summary>
        /// 本次停机持续
        /// </summary>

        public decimal thisShutdownLasts { get; set; }

        /// <summary>
        /// 今年发电时长
        /// </summary>
        public decimal yearGenerationDuration { get; set; }
        /// <summary>
        /// 今年停电时长
        /// </summary>
        public decimal yearDurationOfPowerFailure { get; set; }
    }
}
